Part Number Hot Search : 
IS25C128 SD965 WS3241 C4424 EM84110 1N6302 10130 MCP25
Product Description
Full Text Search
 

To Download SSM2163 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. 0 information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. a digitally controlled 8 3 2 audio mixer SSM2163 features each of 8 inputs can be assigned to either or both outputs voltage inputs and outputs C no need for external amplifiers each input provides 63 db of attenuation in 1 db steps, plus mute C82 dbu signal-to-noise ratio (0 dbu = 0.775 v rms) +10 dbu of headroom 0.007% thd+n (unity gain, @ 1 khz, 0 dbu) power-up/system mute feature industry-standard 3-wire serial interface data out terminal permits daisy chaining of multiple SSM2163s single or dual supply operation 28-pin plastic dip and soic package applications multimedia system mixing audio mixing consoles broadcast equipment intercom/paging systems musical instruments general description the SSM2163 provides eight audio inputs, each of which can be mixed under digital control to a stereo output. each input channel can be attenuated up to 63 db in 1 db intervals, plus fully muted. additionally, any input can be assigned to either or both outputs. a standard 3-wire serial interface is employed, plus a data out terminal to facilitate daisy chaining of multiple mixer ics. no external components are required for normal operation. excellent audio performance is attained. the SSM2163 has a signal-to-noise ratio of C82 dbu (0 dbu = 0.775 v rms), with 10 dbu of headroom resulting in total dynamic range of 92 dbu. total harmonic distortion plus noise is 0.007% at 1 khz with all levels set at unity gain. ? analog devices, inc., 1995 one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 617/329-4700 fax: 617/326-8703 the SSM2163 can be operated from single (+5 v to +14 v) or dual ( 4 v to 7 v) supplies, and is housed in 28-pin plastic dip and soic packages. the SSM2163 is an ideal companion product to the analog devices family of stereo codecs in high performance multi- media systems requiring mixing of multiple signals. simplified block diagram v in1 dca v in2 dca v in3 dca v in4 dca v in5 dca v in 6 dca v in 7 dca v in8 dca output switching network voltage reference generator v cc v ee acom agnd v outl v outr shift register and address decoder system mute data out clk data ld write dgnd v dd v ss SSM2163 dca: digitally controlled attenuator
electrical specifications parameter conditions min typ max units audio performance noise v in = gnd, 20 khz bandwidth C82 dbu headroom clip point = 1% thd+n +10 dbu total harmonic distortion plus noise 2nd and 3rd harmonics only a v = 0 db 0.007 0.03 % a v = C20 db 0.02 % a v = 0 db, v s = +5 v, single supply 0.035 % analog input input impedance 71015 k w volume control step size 1.0 db gain error relative to same channel 0 db attenuation 0.1 1.0 db C20 db attenuation 0.1 db C40 db attenuation 0.25 gain match error channel-to-channel; same level setting 0 db attenuation 0.01 db C20 db attenuation 0.05 db C40 db 0.4 db mute attenuation 64 db analog output output impedance 15 w output current 500 m a minimum resistive load thd = 1% 4 k w maximum capacitive drive 5000 pf offset voltage channel muted 50 mv control section logic input lo 0.8 v logic input hi 2.0 v logic input current logic lo or hi 1 m a logic out lo i out = 0.2 ma 0.4 v logic out hi i out = 0.2 ma 2.4 v timing characteristics see timing diagram reference (acom) output voltage v s = +10 v (single supply) 4.7 5.0 5.3 v output impedance 10 w load regulation C0.5 ma i l +0.5 ma (single supply) 0.2 % power supplies supply voltage range dual supply 4 7v single supply +5 +14 v supply current v s = +10 v (single supply) 8 15 ma power supply rejection ratio delta gain 0.005 db/v specifications subject to change without notice. C2C SSM2163Cspecifications (v s = 6 5 v, a v = 0 db, v in = 0 dbu = 0.775 v rms, f audio = 1 khz, f clk = 250 khz, r l = 100 k v , C40 8 c < t a < +85 8 c, unless otherwise noted. typical specifications apply at t a = +25 8 c.) rev. 0
SSM2163 rev. 0 C3C timing description timing symbol description min typ max units t cl input clock pulse width 50 ns t ch input clock pulse width 50 ns t ds data setup time 25 ns t dh data hold time 35 ns t cw positive clk edge to end of write 25 ns t wc write to clock setup time 35 ns t lw end of load pulse to next write 20 ns t wl end of write to start of load 20 ns t l load pulse width 250 ns t w3 load pulse width (3-wire mode) 250 ns t pd propagation delay from rising 10 80 160 ns clock to sdo transition (r l = 220 k w , c l = 20 pf) notes 1. an idle hi (clk-hi) or idle lo (clk-lo) clock may be used. data is latched on the positive edge. 2. for spi or microwire three-wire bus operation, tie ld to write and use write pulse to drive both pins. (this generates an automatic internal ld signal.) 3. if an idle hi clock is used, t cw and t wl are measured from the final negative transition to the idle state. 4. the first data byte selects an address (msb hi), and subsequent msb lo states set gain levels. re- fer to the address/data decoding truth table. 5. data must be sent msb first. d7 d6 d5 d4 d3 d2 d1 d0 1 0 1 data 0 1 0 1 0 1 0 clk data t cl clk 1 0 sdo 1 0 t ch t ds t dh t wc t cw t pd t w3 write & load write & load figure 1. three-wire mode timing diagram
SSM2163 rev. 0 C4C d7 d6 d5 d4 d3 d2 d1 d0 1 0 1 0 data write ld 1 0 1 0 1 0 1 0 clk data 1 0 t cl clk 1 0 sdo 1 0 write load t ch t ds t dh t wc t cw t pd t wl t l t lw figure 2. four-wire mode timing diagram
SSM2163 rev. 0 C5C absolute maximum ratings 1 supply voltage dual supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 v single supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +16 v analog input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v s logic input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v s output current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ma operating temperature range . . . . . . . . . . . . C40 c to +85 c storage temperature . . . . . . . . . . . . . . . . . . C65 c to +150 c junction temperature (t j ) . . . . . . . . . . . . . . . . . . . . . +150 c lead temperature (soldering, 60 sec) . . . . . . . . . . . . . +300 c thermal characteristics thermal resistance 2 28-pin plastic dip (SSM2163p) q ja . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 c/w q jc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 c/w 28-pin soic (SSM2163s) q ja . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 c/w q jc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 c/w transistor count number of transistors . . . . . . . . . . . . . . . . . . 1711 mosfets 447 bjts esd ratings 883 (human body) model . . . . . . . . . . . . . . . . . . . . . . 1000 v notes 1 stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation section of this specification is not implied. exposure to absolute maxi- mum rating conditions for extended periods may affect device reliability. 2 q ja is specified for worst-case conditions, i.e., q ja is specified for device in socket for p-dip and device soldered in circuit board for soic package. ordering guide temperature package package model range description option SSM2163p C40 c to +85 c plastic dip n-28 SSM2163s C40 c to +85 c soic r-28 pin configurations epoxy plastic dip (p-suffix) and soic (s-suffix) 14 13 12 11 17 16 15 20 19 18 10 9 8 1 2 3 4 7 6 5 28 27 26 25 24 23 22 21 top view (not to scale) SSM2163 dgnd write clk data in system mute v ss data out v dd v in2 nc (shield) ld v in1 nc (shield) v in3 nc (shield) v in5 v cc nc (shield) v in4 nc (shield) v in7 v ee acom v outl v in6 v outr v in8 agnd caution esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without detection. although the SSM2163 features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality. warning! esd sensitive device
SSM2163 rev. 0 C6C pin description pin # mnemonic function 1 dgnd digital ground. 2v ss digital negative supply. 3 data out serial data output clocked on positive clock edge. connect data out to data in pin to daisy-chain multiple SSM2163s. output levels are v dd to dgnd. 4v dd digital positive supply. 5v in1 audio signal input 1. 6 nc (shield) shield pin. should be tied to agnd to minimize crosstalk. 7v in3 audio signal input 3. 8 nc (shield) shield pin. should be tied to agnd to minimize crosstalk. 9v in5 audio signal input 5. 10 v cc analog positive supply. 11 v in7 audio signal input 7. 12 v ee analog negative supply. 13 acom analog common voltage. provides a buffered voltage output halfway between v cc and v ee for use as a pseudo ground in single supply applications. 14 v outl left audio output. 15 v outr right audio output. 16 v in8 audio signal input 8. 17 agnd analog ground. 18 v in6 audio signal input 6. 19 nc (shield) shield pin. should be tied to agnd to minimize crosstalk. 20 v in4 audio signal input 4. 21 nc (shield) shield pin. should be tied to agnd to minimize crosstalk. 22 v in2 audio signal input 2. 23 nc (shield) shield pin. should be tied to agnd to minimize crosstalk. 24 ld load data. 25 write write data. 26 clk clock. 27 data in serial data input. clocked on positive clock edge. 28 system mute mutes all eight input channels thus left and right audio output are muted. system mute does not change the state of internal latches. all digital data remains intact after system mute is applied. logic one: mutes output logic zero: normal operation data attenuation 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 0 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0db ?db ?db ?1db ?2db ?3db 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 x x x x x x x x x x x x x x x x 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 input channel 1 input channel 2 input channel 3 input channel 4 input channel 5 input channel 6 input channel 7 input channel 8 data mode address mode data address selection x = ?on? care," shaded area is data msb lsb msb lsb x x x x x x x x r i g h t l e f t output select 1 = selected, 0 = not selected input select 0 0 0 0 1 1 1 1 figure 3. address and data decoding truth table
SSM2163 rev. 0 C7C
SSM2163 rev. 0 C8C
SSM2163 rev. 0 C9C 10 0% 100 90 1? 1v v s = 5v no load t a = +25 c figure 14. large signal transient response 10 0% 100 90 1? 1v v s = 5v no load t a = +25 c figure 15. large signal transient response
SSM2163 rev. 0 C10C theory of operation the SSM2163 is an eight-input, two-output audio mixer and attenuator. the device provides eight analog inputs, each of which can be individually attenuated by 0 db to 63 db in 1 db steps (see the SSM2163 simplified block diagram). the eight signals can then be mixed into one or both of two analog outputs. the c hannel attenuation level and mixer functions are controlled by digital registers, which are loaded via a serial interface. a hardware mute input is included to asynchronously force all inputs into the muted state. analog section the analog signal path is shown in figure 20. each analog input has a nominal impedance of 10 k w . each input therefore appears as a digitally programmable 10 k w potentiometer. the SSM2163 input impedance remains constant as the attenuation level changes. therefore, the sources which drive the SSM2163 do not have to drive complex and variable impedances. the attenuated analog input is applied to the left and right channel inputs of the mixer. each mixer channel consists of an analog switch and a buffer amplifier. if the channel is selected (via the appropriate bit in the mixer control register), the analog switch is turned on. the buffer amplifier is included after the analog switch so that the gain of each channel will not be affected by the potentiometer setting or by the on-resistance (rds(on)) of the switch. each mixer channel which is on is then summed into its respective (left or right) mixer summing amplifier. (if both of the mixer channels are on, then the attenuated analog input will be applied to both the left and right summing amplifiers.) the buffe red output of the summing amplifier will supply 500 m a to an external load. r1 r2 v in1 r63 agnd 1 of 63 decoder attention value from data register note: only one of eight channels shown for clarity attenuator agnd agnd ch1l select ch1r select mixer switch mixer buffer amp to inputs v in2 ?v in8 k = 1 k = 1 v outl v outr output buffer summing amplifier figure 20. SSM2163 analog signal path digital interface the digital interface consists of two banks of 8 data registers with a serial interface (figure 21). one register bank holds the left/right mixer control bits, while the other register bank holds the 6-bit attenuator value. to attenuator switches to mixer switches attenuator level data latches (6 bits) left/right channel control latches (2 bits) reset mute input data clock input shift register serial data output load clk clk data in clk write figure 21. SSM2163 serial data interface block diagram to access the SSM2163, the host controller (typically a micro- computer) writes a value to the serial shift register which selects the appropriate input channel register for subsequent attenuator- load operations. this write operation also controls the left and right mixer switches. the next write operation then loads the 6-bit attenuator level into the appropriate register. if a series of values are going to be written to the same address, for instance when fading a channel, then only one write operation to the address register is required. serial data control inputs the SSM2163 provides a simple 3- or 4-wire serial interface (figures 22 and 23). data is input on the data in pin, while clk is the serial clock. data can be shifted into the SSM2163 clock rates up to 1 mhz. the shift register clock, clk, is enabled when the write input is low. the write pin can therefore be used as a chip select input. however, the shift register contents are not transferred to the register banks until the rising edge of load. in most cases, write and load will be tied together, forming a traditional 3-wire serial interface. see the microcomputer interfaces section of this data sheet for more information. to enable a data transfer, the write and load inputs are driven low. the 8-bit serial data, formatted msb first, is input on the data in input and clocked into the shift register on the rising edge of clk. the data is latched on the rising edge of write and load. if the data is an address, then the mixer control is updated. if the data is an attenuator value the rising edge of write and load will update the appropriate attenuator value. mute input the mute pin provides a hardware input to force all the SSM2163 channels into the muted state. the mute input is active high. most m c i/o pins are in a high impedance state or configured as inputs at power-up, so the SSM2163 will automatically be muted at power-up. a 10 k w resistor to +5 v is recommended, to ensure that mute is pulled high reliably. the mute input can also be driven from a m cs reset signal to force a power-on mute. in addition to power-on, the mute input can be used to asynchronously mute all channels at any time. the mute function of the SSM2163 does not affect the attenuator values
SSM2163 rev. 0 C11C SSM2163 power supply connections power supplies and decoupling the SSM2163 operates from either single or dual (split) power supplies. in either case, proper supply decoupling is important to maximize audio performance. to reduce noise, separate pins are provided for the digital and analog power supply connections. these pins should be connected together (v dd to v cc and v ee to v ss ) as close to the SSM2163 package as possible (figures 22a, 22b, 22c, power supply connections). single supply operation the SSM2163 will operate with a single power supply of +5 v to +14 v. single supply operation simplifies design and reduces system cost in multimedia applications, battery powered systems, and similar designs. the SSM2163 provides about 2 db of headroom (to 1% thd+n) when operating from a single +5 v supply. the key to operating from a single supply is to reference all analog common connections to a voltage midway between the supply and ground. to simplify single supply operation, the SSM2163 provides a buffered pseudo-ground reference (acom) on pin 13. this reference, shown in figure 23, provides a low impedance output at approximately one half of the supply voltage. connect analog ground (pin 17) to the acom output (pin 13) for single supply operation. to minimize noise caused by modulation of the pseudo-ground, pin 13 should be bypassed to power supply ground with 0.1 m f and 10 m f capacitors. stored in the attenuator control registers. to re-enable the system after a mute, use the address byte to turn on the desired mixer channel. the selected channel will then operate with the previously set attenuator value. serial data input format as previously mentioned, data is written to the SSM2163 in two 8-bit bytes. the serial data format is shown in the address and data decoding truth table, figure 3. the first byte sent contains the channel address and the left/right output mixer control bits. the address byte is identified by the msb being high. the second byte contains the data (i.e., the attenuator value). the six lsbs of this byte set the attenuation level, from 0 db to C63 db. the msb of the data byte must be a logic zero. the standard format for data sent to the SSM2163 is an address byte followed by a data (attenuator level) byte. in some cases, however, only one byte needs to be sent. for example, attenuation levels are not affected by the mute input. to turn a muted channel on, simply send an address byte with the left or right mixer bit set. the addressed channel will immediately be enabled, using the previously-set attenuation level. furthermore, once a channel is addressed the attenuation level can be varied by sending additional data bytes. for example, fading a channel can be accomplished by simply incrementing the data value sent to the SSM2163. serial data output the msb of the shift register is available on the serial data output pin. this output can be connected to the input of another SSM2163 to permit daisy-chain operation. see figure 26 for a typical application. the data output pin swings between the digital power supply rails (i.e., from v dd to v ss ). logic levels all of the SSM2163 logic inputs have ttl and cmos compatible thresholds. however, the allowable voltage range for these inputs extends from v dd to v ss . (nc) 10 17 12 1 agnd dgnd v+ external reference 0.1 m f 10 m f + v cc v ee acom 2 v ss v dd 4 figure 22c. single supply using external reference 10 17 12 1 v cc agnd v ee dgnd v+ vref out 13 0.1 m f 10 m f + 0.1 m f 10 m f + acom 2 v ss v dd 4 figure 22b. single supply 10 17 12 1 agnd acom dgnd v+ v (nc) 0.1 m f 10 m f + 0.1 m f 10 m f + v cc v ee 4 2 v ss v dd figure 22a. dual supply
SSM2163 rev. 0 C12C v cc v dd agnd acom dgnd v ee v ss SSM2163 ttl/cmos logic circuits +5v power supply +5v gnd 10 m f 0.1 m f 0.1 m f 10 m f + + figure 24. use separate traces to reduce power supply noise even if the system includes separate analog and digital power supplies, both the analog and digital power pins of the SSM2163 should be connected to the analog supply. while this connection will inject a small amount of digital noise into the analog ground, the effect is small due to the SSM2163s low digital logic input currents and capacitances. if, on the other hand, the SSM2163s digital supply pins are connected to a digital power supply, then noise from the digital supply will be coupled into the SSM2163 and degrade performance. applications an 8-input, 2-output mixer a single-chip, 8-input, 2-output mixer using the SSM2163 is shown in figure 25. with this circuit, any of the eight channels can be attenuated by 0 db to C63 db and mixed into the right, left, or both outputs under software control. 10? 10? 10? 10? 10? 10? 10? 10? + + + + + + + + 5 22 7 20 9 18 11 16 27 26 25 24 28 14 15 3 nc 4 10 +5v + 10? 0.1? left channel output right channel output v in1 v dd v cc v outl v outr data out shield shield shield shield shield agnd acom dgnd v ss v ee 2121 6 8 19 21 23 17 13 10? 0.1? + v in2 v i n3 v in4 v in5 v in6 v in7 v in8 data in clk write ld sysmute SSM2163 input 1 left input 2 left input 3 left input 4 left input 1 right input 2 right input 3 right input 4 right data in clock chip select system mute figure 25. an 8-input, 2-output mixer this circuit demonstrates ac coupling of the inputs. as previously mentioned, this eliminates level shifting concerns from previous stages. the circuit of figure 25 also demonstrates single +5 v supply operation. the output of the acom supply-splitter, pin 13, provides the pseudo-ground reference which is required when operating from a single supply. attenuator mixer switch channel select mixer buffer amp agnd mixer summing amplifier v out v in v out v cc r1 r2 v ee r1=r2 acom 10? 0.1? v ee s figure 23. single-supply pseudo-ground reference (acom) generator for single supply operation, the inputs can either be ac-coupled, as shown in figure 25, or referenced to the pseudo-ground out- put. ac coupling eliminates dc offset and offset drift differentials between the input source and the SSM2163. in addition, ac coupling reduces the risk of clicks when switching between multiple dc-coupled inputs which have different reference levels. since the input coupling capacitors are in series with the 10 k w input of the attenuator, the impedance of these capacitors will influence low frequency gain. the inexpensive 10 m f aluminum electrolytic capacitors shown will limit the gain error to 0.66 db at 20 hz. if the entire system is operating from a single supply, then typically the input voltage is already referenced to the midpoint of the supply. in this case, the SSM2163 can be referenced to the same midpoint reference source, as shown in figure 22c. this connection will eliminate dc offset errors caused by having the input signal common and the SSM2163 analog common referenced to different voltages. dc offset errors can also be eliminated, of course, by using the ac coupling technique discussed above. dual-supply operation the SSM2163 will also operate from dual supplies, ranging from 4 v to 7 v. (see figure 22a.) in this case, input signals can be referenced to power supply ground. the acom output (pin 13) is left open (no connection) for dual supply operation. supply decoupling optimizing the performance of the SSM2163, or any low noise device, requires careful attention to power supply decoupling. since the SSM2163 can operate from a single +5 v supply, it seems convenient to simply tap into the digital logic power supply. unfortunately, the logic supply is often a switch-mode design, which generates noise in the 20 khz to 1 mhz range. in addition, fast logic gates can generate glitches hundred of millivolts in amplitude due to wiring resistances and inductances. if a separate analog power supply is not available, the SSM2163 can be powered directly from the system power supply. separate power and ground traces should be provided for the analog section, if possible. this arrangement, shown in figure 24, will isolate the analog section from the logic switching transients. even if a separate power supply trace is not available, however, generous supply bypassing will reduce supply line induced noise. local supply bypassing, consisting of a 10 m f tantalum electrolytic in parallel with a 0.1 m f ceramic capacitor, is recommended in all applications. (see the SSM2163 power supply connections figures.)
SSM2163 rev. 0 C13C the circuit of figure 26 illustrates dc coupling of the inputs. dc coupling is practical with dual supplies and ground- referenced inputs, because the dc offsets associated with single- supply operation are reduced. however, ac coupling could also be used, and employing both ac- and dc-coupled signals in one mixer is also possible. in addition, this circuit illustrates the connections for 5 v power supplies. note that the negative supply, as well as the positive supply, should be bypassed to ground. implementing a software-controlled pan-pot pan and fade effects are important attributes of modern multi- media presentations and similar applications. one way to achieve these effects is to apply the input signal to two input channels of the SSM2163, as shown in figure 27. since any input channel can be mixed into either or both outputs, sophisticated pan and fade effects are easily accomplished in software. for example, input 1 can be connected to the left channel with 0 db attenuation, while input 2 is applied to the right channel with C10 db of attenuation. this configuration will produce the effect of having the audio source located to the left of center line of the speakers. another possible option would be to attenuate the left channel while boosting the right, which would produce an effect of movement of the audio source. since any input can be connected to either output, very flexible and sophisticated effects can be produced without hardware changes. v outl v outr v in2 v in1 v in SSM2163 to inputs v in3 ?v in8 s s figure 27. connecting the SSM2163 for pan-pot operation driving headphones a high speed, high output current amplifier, such as the op279, can be added to drive headphones directly. a typical connection is shown in figure 28. single +5 v operation is maintained, since the op279 offers rail-to-rail inputs and outputs. the op279s high current output stage can drive a 48 w load to 4 v p-p while maintaining less than 1% thd. mixing additional channels some mixing applications require more than four inputs for each stereo channel. to meet the requirements of these systems, two or more SSM2163s can be paralleled to provide additional channels. a typical circuit is shown in figure 26, which combines two SSM2163s to form a 16-input, 2-output mixer. an ssm2135 dual audio op amp sums the outputs of each of the SSM2163s. with this system, any of the 16 inputs can be mixed into either or both of the output channels. 5 22 7 20 9 18 11 16 27 26 25 24 28 14 15 3 nc 4 10 +5v + 10? 0.1? v dd v cc v outl v outr data out shield shield shield shield shield agnd acom dgnd v ss v ee 212 1 6 8 19 21 23 17 13 10? 0.1? + v in2 v in3 v in4 v in5 v in6 v in7 v in8 data in clk write ld sysmute SSM2163 data in clock chip select system mute 5 22 7 20 9 18 11 16 27 26 25 24 28 14 15 3 nc 4 10 +5v + 10? 0.1? v dd v cc v outl v out r data out shield shield shield shield shield agnd acom dgnd v ss v ee 2 12 1 6 8 19 21 23 17 13 data in clk write ld sysmute SSM2163 v in1 v in2 v in3 v in4 v in5 v in6 v in7 v in8 ?v #1 #2 v in1 v in2 v in3 v in4 v in5 v in6 v in7 v in8 10? 0.1? + ?v nc 20k +5v 0.1? 0.1? ?v 20k 20k 1/2 ssm2135 v outl 20k 1/2 ssm2135 v outr 20k 20k v in1 v in1 v in2 v in3 v in4 v in5 v in6 v in7 v in8 figure 26. a 16-input, 2-output mixer this circuit utilizes the data out feature of the SSM2163 to transfer data from the first SSM2163 to the second. in the daisy-chain mode, the data out pin of the first SSM2163 is connected to the data in pin of the second device. the advantage of this daisy chain connection is that it allows a 3-wire serial interface, as was used in the previous 8-input mixer, to control two or more SSM2163s. the serial data format for the daisy chain circuit is similar to the 8-channel application, except that the SSM2163s are loaded in tandem. after setting write and load low, two bytes (16 bits) are clocked into the first SSM2163. when write and load return high, data will be latched into both SSM2163s simultaneously.
SSM2163 rev. 0 C14C SSM2163 v outl v outr 14 15 +v +5v 1/2 op279 1/2 op279 16 w 16 w + + 220? 220? 50k 50k left headphone right headphone figure 28. a single-supply stereo headphone driver the op amps input offset voltage is only 4 mv maximum, so the SSM2163 output can be dc coupled. the headphone output is ac coupled through a 220 m f capacitor. the large coupling capacitor is required because of the low impedance of the headphones, which can range from 32 w to 600 w . an additional 16 w resistor is used in series with the output capacitor to protect the op amps output stage by limiting capacitor discharge current. microcomputer interfaces the SSM2163 serial data input provides an easy interface to a variety of single chip microcomputers ( m cs). many m cs have a built-in serial data capability which can be used for communi cating with the SSM2163. in cases where no serial port is provided, or it is being used for some other purpose (such as an rs-232 communications interface), the SSM2163 can easily be addressed in software. the SSM2163 can operate in either a 3-wire or 4-wire mode. in most cases, the 3-wire mode is more practical, due to reduced pc board traces and compatibility with m c serial interface protocols. a typical interface, using the 80c51 m c, is shown in figure 29, while the interface waveforms are shown in the timing diagram, 3-wire mode, figure 1. (p3.0) rxd (p3.1) txd p1.4 p1.3 80c51 ? +5v 10k data in clk write ld sysmute SSM2163 note: additional pins omitted for clarity figure 29. interfacing the 80c51 m c to an SSM2163 in 3-wire mode port in 4-wire mode in some cases, it may be desirable to synchronize the outputs of several SSM2163s. the 4-wire mode, shown in figure 30, provides this capability. as shown in figure 2, the timing diagram, 4-wire mode, the input shift register is loaded with data while the write input is low. however, the data will not be latched into the SSM2163s internal registers until the rising edge of the load input. in this manner, any number of SSM2163s can be loaded with data, while the amplitude and mixer changes will not occur until the separate load pulse occurs. (p3.0) rxd (p3.1) txd p1.4 p1.3 80c51 ? +5v 10k data in clk write ld sysmute SSM2163 note: additional pins omitted for clarity p1.2 figure 30. interfacing the 80c51 m c to an SSM2163 in 4-wire mode an 80c51 m c interface a typical interface between the SSM2163 and an 80c51 m c is shown in figure 30. this interface uses the 80c51s internal serial port. the serial port is programmed for mode 0 operation, which functions as a simple 8- bit shift register. the 80c51s port 3.0 pin functions as the serial data output, while port 3.1 serves as the serial clock. when data is written to the serial buffer register (sbuf, at special function register location 99h), the data is automatically converted to serial format and clocked out via port 3.0 and port 3.1. after 8 bits have been transmitted, the transmit interrupt flag (scon.1) is set and the next 8 bits can be transmitted. the 80c51 transmits serial data in least significant bit (lsb)- first format. the SSM2163, on the other hand, requires data in msb format. a byteswap routine swaps the order of the bits before transmission. the SSM2163 requires the chip select to go low at the begin- ning of the serial data transfer. after each 8 bits (either address or attenuation value) are transmitted, chip select must go high to latch data into the appropriate register. chip select is controlled by the 80c51s port 1.4 pin. software for the 80c51 interface a software routine for the SSM2163 to 80c51 interface is shown in listing 1. the routine transfers the 6-bit attenuation level stored at data memory location level_value to the SSM2163 input addressed by the contents of location input_addr, and turns the left and/or right mixer channels on/off based on bits 3 and 4 of input_addr.
SSM2163 rev. 0 C15C the 80c51 sends data out of its shift register lsb first, while the SSM2163 requires data msb first. the subroutine therefore includes a byteswap subroutine to reformat the data. this routine transfers the msb-first byte at location shiftreg to an lsb-first byte at location sendbyte. the routine rotates the msb of the first byte into the carry with a rotate left carry instruction, then rotates the carry into the msb of the second byte with a rotate right carry instruction. after 8 loops, sendbyte contains the data in the proper format. the byteswap routine in listing 1 is convenient because the attenuator data can be calculated in normal lsb form. for example, fading a channel on the SSM2163 is simply a matter of repeatedly incrementing the level_value location and calling the send_val subroutine. (remember, the 6-bit listing 1. software for the 80c51-SSM2163 serial port interface ; this subroutine loads an SSM2163 mixer channel with a 6-bit ; attenuator value, and turns the left or right mixer switch on or off. ; the attenuator value is stored at location atten_value ; the mixer channel address is stored at location input_addr ; port1 data 90h ;sfr register for port 1 atten_value data 40h ;attenuation level (0=0db) ;atten-value: b7=0, b5Cb0=attenuation value input_addr data 41h ;mixer channel address ;input_addr: b7=1, b4=l chnl, b3=r chnl, b2-b0=address loopcount data 42h ;count loops for byte swap shiftreg data 43h ;shift reg. for byte swap sendbyte data 44h ;destination reg. for byte swap ; org 100h ;arbitrary starting address ld_2163: clr scon.7 ;set serial clr scon.6 ; data mode 0 clr scon.5 ;clr sm2 for mode 0 clr scon.1 ;clr the transmit flag clr port1.3 ;mute function off setb port1.4 ;write and load high mov shiftreg,input_addr ;get mixer channel address acall send_it ; send to SSM2163 send_val: mov shiftreg,atten_value ;get the attenuation level acall send_it ; send it to the SSM2163 ret ;done ; ;convert the byte to lsb-first format and send ; it to the SSM2163 send_it: mov loopcount,#8 ;shift 8 bits byteswap: mov a,shiftreg ;get source byte rlc a ;rotate msb to carry mov shiftreg,a ;save new source byte mov a,sendbyte ;get destination byte rrc a ;move carry into msb mov sendbyte,a ;save djnz loopcount,byteswap ;done? clr port1.4 ;set write and load low mov sbuf,sendbyte ;send the byte send_wait: jnb scon.1,send_wait ;wait until 8 bits are send clr scon.1 ;clear the serial flag setb port1.4 ;set write and load high to latch ret ; data into the SSM2163 end the subroutine begins by setting appropriate bits in the serial control register to configure the serial port for mode 0 operation. next the SSM2163s chip select input is set low to enable the SSM2163. the input channel address is obtained from memory location input_addr, adjusted to compensate for the 80c51s serial data format, and moved to the serial buffer register. at this point, serial data transmission begins automatically. when all 8 bits have been sent, the transmit interrupt bit is set, and the chip select output is set high to latch the channel address into the SSM2163. the subroutine then sets chip select low again and proceeds to send the attenuation value stored at location level_value. when the chip select input is returned high, the appropriate SSM2163 input channel will be updated with the new attenuation value and the subroutine ends.
SSM2163 rev. 0 C16C outline dimensions dimensions shown in inches and (mm). 28-pin plastic dip (n-28) 28 1 14 15 1.565 (39.70) 1.380 (35.10) 0.580 (14.73) 0.485 (12.32) pin 1 0.022 (0.558) 0.014 (0.356) 0.060 (1.52) 0.015 (0.38) 0.200 (5.05) 0.125 (3.18) 0.150 (3.81) min seating plane 0.250 (6.35) max 0.100 (2.54) bsc 0.070 (1.77) max 0.015 (0.381) 0.008 (0.204) 0.195 (4.95) 0.125 (3.18) 0.625 (15.87) 0.600 (15.24) printed in u.s.a. c2070C18C10/95 28-pin soic (r-28) seating plane 0.0118 (0.30) 0.0040 (0.10) 0.0192 (0.49) 0.0138 (0.35) 0.1043 (2.65) 0.0926 (2.35) 0.0500 (1.27) bsc 0.0125 (0.32) 0.0091 (0.23) 0.0500 (1.27) 0.0157 (0.40) 8 0 0.0291 (0.74) 0.0098 (0.25) x 45 0.7125 (18.10) 0.6969 (17.70) 0.4193 (10.65) 0.3937 (10.00) 0.2992 (7.60) 0.2914 (7.40) pin 1 29 15 14 1 number stored in level_value is the attenuation value, expressed in Cdb, so larger values will decrease volume. also, the register must not be allowed to increment beyond 7fh because the msb will be set and the SSM2163 will interpret the value as an address. therefore, the two highest bits of level_value should be cleared by anding the register with 3fh.) if the m cs hardware serial port is being user for other purposes, the SSM2163 can be loaded by using the parallel port. a typical parallel interface is shown in figure 31. the serial data is transmitted to the SSM2163 via the 80c51s port 1.6 output, while port 1.5 acts as the serial clock. p1.6 p1.5 p1.4 p1.3 80c51 ? +5v 10k data in clk write ld sysmute SSM2163 note: additional pins omitted for clarity figure 31. an SSM2163 to 80c51 m c interface using parallel port 1 software for the interface of figure 31 is straightforward. typically, the m c will repeatedly shift the value to be sent, for example from register level_value, into the carry bit. port p1.6 is then set or reset based on the carry bit, and port p1.5 is strobed low and then high to create a clock pulse. after eight loops, the value will have been sent to the SSM2163. note that all eight bits should be sent, even though only six bits are significant. if only six bits are shifted in, the two low order bits of the previous value will remain in the msbs of the shift register. if this action results in the msb being a one, the SSM2163 will interpret this as an address and unpredictable results will occur.


▲Up To Search▲   

 
Price & Availability of SSM2163

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X